<div id="menu">

	<ul class="onglets">
		<?php $adress=substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],"/")+1);
			$adress=strstr($adress,"&",true);
		?>
		<li><a <?php if($adress == "index.php" || $adress == "") {echo "class='open' ";}?>href="index.php">Accueil</a></li>
		<li><a <?php if($adress == "index.php?module=actionComm") {echo "class='open' ";}?>href="index.php?module=actionComm&amp;action=visionnerToutADC">Actions de communication</a></li>
		<?php 
		if(isset($_SESSION['user']) && !isset($_POST['deconnexion']))
		{
			if($_SESSION['user'] == "etu")
			{
				if($adress == "index.php?module=pointBonus")
					echo '<li><a class="open" href="index.php?module=pointBonus&amp;action=point_bonus">Mes bonus</a></li>';
				else
					echo '<li><a href="index.php?module=pointBonus&amp;action=point_bonus">Mes bonus</a></li>';
			}
		}
		?>
	</ul>
</div>